package cn.test.config;

import cn.test.domain.MyObject;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
//@ConditionalOnClass(name = {"java.lang.String"})
public class MyConfiguration {
    @Bean
    public MyObject testMyObject() {
        return new MyObject();
    }
}
